<div ng-controller="userRolesController">
<!-- 修改 BEGIN -->
<div ng-controller="userRolesDetailsController">
    <div class="right-product right-full operation animate-time" ng-class="{ true: 'right-full', false: 'right-off' }[isActive]">
        <div class="center-back right-back">

            <!-- 顶部导航 BEGIN -->
                <ul class="breadcrumb">
                    <li>
	                    <a ui-sref="home">
	                        <img class="breadcrumb-right-img-home" height="20px" src="../images/right-product/home.png">首页
	                    </a>
	                </li>
	                <li>
	                    <img class="breadcrumb-right-img" src="../images/public/right4.png">
	                </li>
	                <li>
	                    <a>角色管理</a>
	                </li>
	                <li>
	                    <img class="breadcrumb-right-img"src="../images/public/right4.png">
	                </li>
	                <li>
	                    <a >角色组管理</a>
	                </li>
	                <li>
	                    <img class="breadcrumb-right-img"src="../images/public/right4.png">
	                </li>
	                <li>
	                    <a class="active">修改</a>
	                </li>
                </ul>
            <!-- 顶部导航 END -->
            <!-- 返回列表 BEGIN -->
            <div class="panel panel-default">
                <div class="panel-heading game-border pull-left goods-panel-heading addblock" ui-sref="user.roles">
                    <i class="glyphicon glyphicon-arrow-left">返回列表</i>
                </div>
            </div>
            <!-- 返回列表 END -->
            <div class="container-fluid">
                <div class="info-center">

                    <!-- 详情内容 BEGIN -->
                        <div class="contain">

                            <form name="userAdd_form">

                                <div class="overflow-hide form-group">
                                    <label class="col-xs-12 col-sm-3 control-label text-right">角色组名称：</label>
                                    <div class="col-xs-12 col-sm-6">
                                        <input type="text" 
                                            name="roleGroupName" 
                                            ng-minlength="2" 
                                            ng-maxlength="20"  
                                            class="form-control"  
                                            autocomplete="off" 
                                            ng-model="rolesupdatenew.roleGroupName" 
                                            required/>
                                        <label class="red required">*</label>
                                    
                                        <div class="error" ng-show="userUpdate_form.roleGroupName.$dirty && userUpdate_form.roleGroupName.$invalid">
                                            <small class="error" ng-show="userUpdate_form.roleGroupName.$error.required">请输入角色组名</small>
                                            <small class="error" ng-show="userUpdate_form.roleGroupName.$error.minlength ">角色组名长度在2-20之间</small>
                                            <small class="error" ng-show="userUpdate_form.roleGroupName.$error.maxlength">角色组名长度在2-20之间</small>
                                        </div>
                                    </div>       
                                </div>
                          
                                <div class="overflow-hide form-group height-auto">
                                    <label class="col-xs-12 col-sm-3 control-label text-right">描述：</label>
                                    <div class="col-xs-12 col-sm-6">
                                        <textarea rows="5" 
                                                  type="text" 
                                                  name="description" 
                                                  class="form-control" 
                                                  ng-model="rolesupdatenew.description"
                                                  />
                                        </textarea>
                                    </div>
                                </div>
                            </form>
                            
                            <div class="clearfix"></div>

                            <div class="form-group height-auto">
                                <label class="col-xs-12 col-sm-3 control-label text-right"></label>
                                <div class="col-xs-12 col-sm-6">
                                    <div class="form-footer modal-footer">
                                        <button type="button" 
                                                class="btn btn-primary" 
                                                ng-disabled="userAdd_form.$invalid"  
                                                ng-click="confirmEdit()"
                                                >修改
                                        </button>
                                    </div>
                                </div>
                            </div>

                        </div>
                    <!-- 详情内容 END -->
                </div>
            </div>

        </div>
    </div>
</div>    
<!-- 修改 END -->
</div>	
